package common;

public class Constant {
	//test
//	public static final String rpConnString_test = "jdbc:mysql://10.5.111.5:3306/rp?user=toodou&password=toodou&characterEncoding=UTF8";
//		public static final String rpConnString_test = "jdbc:mysql://localhost:3306/rp?user=appuser&password=appuser@8wuliao.com_sysuser&characterEncoding=UTF8";
		public static final String rpConnString_test = "jdbc:mysql://127.1.1.1:2020/rp?user=noteadmin&password=admin@8wuliao@note.com&characterEncoding=UTF8";
	//online
	public static final String rpConnString = "jdbc:mysql://localhost:2019/rp?user=appuser&password=appuser@8wuliao.com_sysuser&characterEncoding=UTF8";
//	public static final String rpConnString = "jdbc:mysql://127.1.1.1:2020/rp?user=appuser&password=appuser@8wuliao.com_sysuser&characterEncoding=UTF8";
//	public static final String imgpath = "/home/snake/rpimg/";
	public static final String imgurl="http://178rp.com/";
	public static final String imgfilter="rpimg/";
		public static final String imgpath="D:/apache-tomcat-6.0.18/webapps/itemimg/";
//	public static final String baseurl = "http://snake.8wuliao.com/";
	public static final String baseurl = "http://178rp.com/";
	

	public static final int CookieExpired = 2 * 24 * 3600;

	public static final int PageSize = 10;
	public static final int baseMatchDegree = 1000000;
	public static final int VoteWeight = 10000;
	public static final int CommentWeight = 50000;
	public static final int TagWeight = 100000;
	public static final int NameWeight = 300000;
	public static final int MaxSearchCount=300;
	public static final int SearchCacheExpired=6;//搜索结果缓存时间 单位小时
	
	
	public static final String nologin="-1";
	public static final String syserror="-2";
	public static final String invalid="-3";
	public static final String toomanytimes="-4";
	public static final String toomanywords="-5";
	
}
